<template>
  <SupplierForm :supplierId="supplierId"></SupplierForm>
</template>
<script setup name="EditSupplier">
import { useRoute } from 'vue-router'
import SupplierForm from '@/views/sourceManage/supplierManage/modules/supplierForm'
const route = useRoute()
let supplierId = ref(null)
watch(
  () => route.query.supplierId,
  () => {
    if (route.query.supplierId) {
      supplierId.value = route.query.supplierId
    }
  },
  {
    immediate: true
  }
)
</script>
